package com.cskaoyan.mapper;

import com.cskaoyan.bean.PeriMissionList;
import com.cskaoyan.bean.PeriMissionListExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PeriMissionListMapper {
    long countByExample(PeriMissionListExample example);

    int deleteByExample(PeriMissionListExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PeriMissionList record);

    int insertSelective(PeriMissionList record);

    List<String> selectByExample(PeriMissionListExample example);

    PeriMissionList selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PeriMissionList record, @Param("example") PeriMissionListExample example);

    int updateByExample(@Param("record") PeriMissionList record, @Param("example") PeriMissionListExample example);

    int updateByPrimaryKeySelective(PeriMissionList record);

    int updateByPrimaryKey(PeriMissionList record);

    void insertIntoPermission(@Param("req") String s, @Param("perms") String s1);

    List<String> selectFromPerMissionDetail(Integer roleId);
}